package com.tjetc.service;

import com.github.pagehelper.PageInfo;
import com.tjetc.domain.HDepartment;
import com.tjetc.vo.Result;

public interface HDepartmentService{


    int deleteByPrimaryKey(Integer id);

    int insert(HDepartment record);

    int insertSelective(HDepartment record);

    HDepartment selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(HDepartment record);

    int updateByPrimaryKey(HDepartment record);

    PageInfo<HDepartment> selAll(String name, Integer curPage, Integer pageSize,Integer hid);

    Integer delById(Integer id);

    Integer update(HDepartment hDepartment);

    Integer add(HDepartment hDepartment);


    Result selectByHid(Integer hid);
}
